export function isLogin() {
  return !!sessionStorage.getItem('login')
}

export function setLoginStatus() {
  sessionStorage.setItem('login', true)
}

export function removeLoginStatus() {
  sessionStorage.removeItem('login')
}

export function setJWTToken(token) {
  localStorage.setItem('jwt-token', token)
}

export function getJWTToken() {
  return localStorage.getItem('jwt-token')
}

export function removeJWTToken() {
  localStorage.removeItem('jwt-token')
}
